package my.base.test.util;

import junit.framework.Assert;

/**
 * 
 * 
 * @author fanhongjie
 *
 */
public final class MyAssert {
	public static void assertNotNull(String message, Object... objects) {
		Assert.assertNotNull(message, objects);
		for (Object object : objects) {
			Assert.assertNotNull(message, object);
		}
	}

	public static void assertNotNull(Object... objects) {
		assertNotNull(null, objects);
	}

	public static void assertEquals(String message, byte[] expected,
			byte[] actual) {
		MyAssert.assertNotNull(message, expected, actual);
		Assert.assertEquals(message, expected.length, actual.length);
		for (int i = 0; i < expected.length; i++) {

		}
	}

	public static void assertEquals(byte[] expected, byte[] actual) {
		assertEquals(null, expected, actual);
	}
}
